<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加运动员</title>
</head>
<body>
<%
   Object message = request.getAttribute("message");
   if(message != null){
%>
  <br/>
  <font color="red"><%=message %></font>
  <br/>
<% 	   
   }
%>
<form action="addPlayer.do" method="post">
   <table>
      <tr>
         <td>姓名:</td>
         <td><input type="text" name="username"
         value="<%=request.getParameter("username")==null ? "":request.getParameter("username") %>"/></td>
      </tr>
       <tr>
         <td>球队:</td>
         <td><input type="text" name="team"
         value="<%=request.getParameter("team")==null ? "":request.getParameter("team") %>"/></td>
      </tr>
       <tr>
         <td>城市:</td>
         <td><input type="text" name="city"
         value="<%=request.getParameter("city")==null ? "":request.getParameter("city") %>"/></td>
      </tr>
       <tr>
         <td colspan="3"><input type="submit" value="提交" style="width: 64px"/></td>
      </tr>
      
   
   </table>

</form>
</body>
</html>